<?php

namespace App\Http\Requests\WebPage\Cases;


use App\Http\Requests\WebPage\WebPageApiRequest;

/**
 * @property string $per_page
 * @property string $case_tag_id
 * Class CaseIndexRequest
 * @package App\Http\Requests\WebPage\Video
 */
class CaseIndexRequest extends WebPageApiRequest
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'case_tag_id'      => 'required|int', // 标签
        ];
    }
}
